package com.mnnu.system.service.impl;

import com.mnnu.common.domain.entity.SysUser;
import com.mnnu.system.mapper.SysUserMapper;
import com.mnnu.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ISysUserServiceImpl implements ISysUserService {

    @Autowired
    public SysUserMapper sysUserMapper;

    /**
     * 分页查询用户信息
     * @param user
     * @return
     */
    public List<SysUser> list(SysUser user) {
        return sysUserMapper.list(user);
    }
}
